home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / rayshade / graphtal.lzh / Graphtal.Amiga / ExampleDevice.h < prev    next >
C/C++ Source or Header  |  1992-11-17  |  1KB  |  42 lines

  1. /*
  2.  * ExampleDevice.h - class definition of example device driver.
  3.  *
  4.  * Copyright (C) 1992, Christoph Streit (streit@iam.unibe.ch)
  5.  *                     University of Berne, Switzerland
  6.  * All rights reserved.
  7.  *
  8.  * This software may be freely copied, modified, and redistributed
  9.  * provided that this copyright notice is preserved on all copies.
  10.  *
  11.  * You may not distribute this software, in whole or in part, as part of
  12.  * any commercial product without the express consent of the authors.
  13.  *
  14.  * There is no warranty or other guarantee of fitness of this software
  15.  * for any purpose.  It is provided solely "as is".
  16.  *
  17.  */
  18.  
  19. #ifndef ExampleDevice_H
  20. # define ExampleDevice_H
  21.  
  22. #include "DeviceDriver.h"
  23.  
  24. //___________________________________________________________ ExampleDevice
  25.  
  26. class ExampleDevice : public DeviceDriver 
  27. {
  28. public:
  29.   ExampleDevice();
  30.  
  31.   void begin();
  32.   void end(const BoundingBox&);
  33.   void cylinder(const Vector&, const Vector&, real);
  34.   void cone(const Vector&, real, const Vector&, real);
  35.   void sphere(const Vector&, real);
  36.   void polygon(Polygon*);
  37. };
  38.  
  39. #endif // ExampleDevice_H
  40.  
  41.  
  42.